<template>
  <div class="content">
    <!-- 头部 -->
    <div class="header">
        <van-icon name="arrow-left" @click="goBack" />
        <span>我的收藏夹</span>
      </div>
  </div>
</template>

<script>
export default {
    name: "MyFavorites",
    components: {
  },
  methods: {
    goBack() {
      this.$router.back();
    },
  }
}
</script>

<style scoped>
.header {
 height: 3.5rem;
 text-align: center;
 font-size: 1.3rem;
 line-height: 3.5rem;
 border-bottom: 2px solid gray;
}
.van-icon {
 float: left;
 padding-left: 10px;
 line-height: 3.5rem;
 color: rgb(24, 24, 64);
}
</style>
